From 4cd221e362a7968982909a848a869faf11bce717 Mon Sep 17 00:00:00 2001 From: Drew Parsons Date: Mon, 22 Jun 2026 14:51:48 +0200 Subject: [PATCH] install viskores.pc to libvtk9-dev conditionally viskores does not build on 32-bit arches --- debian/changelog | 7 +++++++ debian/libvtk9-dev.install | 1 - debian/rules | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6f0488626..311fae6f9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vtk9 (9.6.2+dfsg1-1exp2) UNRELEASED; urgency=medium + + * install viskores.pc to libvtk9-dev conditionally: + viskores does not build on 32-bit arches + + -- Drew Parsons Mon, 22 Jun 2026 14:50:30 +0200 + vtk9 (9.6.2+dfsg1-1exp1) experimental; urgency=medium * Team upload. diff --git a/debian/libvtk9-dev.install b/debian/libvtk9-dev.install index 2b722844a..911f278aa 100644 --- a/debian/libvtk9-dev.install +++ b/debian/libvtk9-dev.install @@ -1,4 +1,3 @@ usr/include/vtk-9.6 usr/include usr/lib/*/*.so usr/lib/*/cmake/vtk-9.6 -usr/lib/*/pkgconfig/viskores.pc diff --git a/debian/rules b/debian/rules index f33408cc2..4acc2fe38 100755 --- a/debian/rules +++ b/debian/rules @@ -167,6 +167,9 @@ execute_after_dh_install: find $(CURDIR)/debian/libvtk$(UPSTREAM_VERSION_ABI)/ -name "*Qt*" -delete || true find $(CURDIR)/debian/tmp/usr/share/doc/vtk-*/doxygen -name "_formulas.log" -delete || true find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -delete || true +ifneq ($(DEB_HOST_ARCH_BITS),32) + dh_install -plibvtk9-dev usr/lib/*/pkgconfig/viskores.pc +endif # Fix privacy breach execute_after_dh_installdocs-indep: -- 2.30.2